import { useAxios } from "./composables/useAxios.ts"
import BeanCmConfigRequest from "../bean/cmConfig/BeanCmConfigRequest.ts"
import BeanCmConfig from "../bean/cmConfig/BeanCmConfig.ts"
import type { ApiResponse } from "../types/api.ts"

export function getCmConfigList(params: BeanCmConfigRequest) {
  return useAxios<ApiResponse<BeanCmConfig[]>>({
    url: "cmConfig/list", // 这里统一管理接口地址
    data: params,
  })
}
